﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace CustomsDocumentOA.Project.CusDocument
{
    /// <summary>
    /// 客户拜访记录
    /// </summary>
    [Table("CDOA_Visit_Record")]
    public class CDOA_Visit_Record : Entity<Guid>,IHasCreationTime, ICreationAudited, IModificationAudited,ISoftDelete
    {

        public long? LastModifierUserId { get; set; }
        public DateTime? LastModificationTime { get; set; }
        public long? CreatorUserId { get; set; }

        public bool IsDeleted { get; set; }
        /// <summary>
        /// 拜访记录创建日期
        /// </summary>
        public DateTime CreationTime { get; set; }
        /// <summary>
        /// 工单号
        /// </summary>
        public string WorkOrderNo { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public long UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 客户名
        /// </summary>
        public string CustomerName { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string ImageUrl { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string RecordInfo { get; set; }
        /// <summary>
        /// 预计成交时间
        /// </summary>
        public DateTime DealTime { get; set; }
    }
}
